#include <stdio.h>
#include <stdlib.h>
int main()
{
	FILE *fp;
	fp = fopen("C:\\a.txt","r");
	if (NULL==fp)
	{
		printf("文件打开失败");
		
		exit(0); 
	} 
	fclose(fp);
}